Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Action to push to GESIS #3159

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

rgaiacs
Copy link
Collaborator

@rgaiacs rgaiacs commented Jan 9, 2025

This is related to #2797.

The final workflow when #2797 is complete will be

  1. PR in https://github.com/jupyterhub/mybinder.org-deploy is merged into main branch
  2. GitHub Actions starts continuous deployment of https://mybinder.org
  3. GitHub Actions push merged PR to https://git.gesis.org/methods-hub/interactive-environment
  4. GESIS GitLab CI/CD starts continuous deployment of https://notebooks.gesis.org/

This PR requires a new secret named GESIS_METHODS_HUB_TOKEN that I'm sending in private to

The secret was encrypted using the public SSH RSA key from GitHub:

ssh-keygen -f username -e -m pem > username.pem
cat GESIS_METHODS_HUB_TOKEN | openssl pkeyutl -encrypt -pubin -inkey username.pem > GESIS_METHODS_HUB_TOKEN.username.txt

To decrypt

cat GESIS_METHODS_HUB_TOKEN.username.txt | openssl pkeyutl -decrypt -inkey path/to/id_rsa > GESIS_METHODS_HUB_TOKEN.txt

@rgaiacs rgaiacs requested a review from manics January 9, 2025 12:24
@rgaiacs rgaiacs self-assigned this Jan 9, 2025
@rgaiacs
Copy link
Collaborator Author

rgaiacs commented Jan 21, 2025

@minrk did you have the opportunity to add the secret to GitHub? GESIS_METHODS_HUB_TOKEN.minrk.txt

@rgaiacs rgaiacs requested review from minrk and removed request for manics January 21, 2025 10:45
@rgaiacs
Copy link
Collaborator Author

rgaiacs commented Jan 21, 2025

I fixed the pre-commit error. This can be merged after add the secret.

@minrk
Copy link
Member

minrk commented Jan 21, 2025

@rgaiacs sorry for the delay, added just now

@rgaiacs rgaiacs merged commit 1d3d6b7 into jupyterhub:main Jan 21, 2025
4 checks passed
@rgaiacs rgaiacs deleted the gesis-mirror branch January 21, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants